package com.hengpeng.msls.util;

/**
 * 系统常量
 * @author wuhaifei
 * @version 1.0, 2012-5-22
 */
public enum Contants
{
	LOGINUSER("LOGINUSER", "登录用户"), RANDOMCODE("vcode", "验证码"), ERRORMSG("ERRORMSG", "错误提示"), NEWISSUE("newIssue",
			"最新奖期"), ARTICLELIST("articleList", "新闻信息"), NEWANNOUNCEMENTLIST("newAnnouncementList", "最新开奖公告"), NEWBONUSLIST(
			"newBonusList", "最新中奖"), GAMEID("gameId", "玩法id"), QUEGAMEID("queGameId", "玩法id用于查询"), GAMETYPE("gameType",
			"玩法页面名称后缀"), LOTTERYINFO("lotteryInfo", "投注信息"), PAGEINDEX("pageIndex", "返回页面的索引"), PAGEINFO("pageInfo",
			"分页查询信息"), SELECTDATE("selectDate", "查询日期"), RETURNMAP("returnMap", "map封装list"), RETURNINFO("returnInfo",
			"返回信息"), ACCESSTYPE("accessType", "访问类型"), ANDROIDCLIENT("androidClient", "android客户端"), SUCCEES("000",
			"成功"), BASElOTTERY("1", "普通代购"), AUTOlOTTERY("2", "自动定投"), RETURNPAGE("returnPage", "跳转页面"), APPLEPARAMS(
			"params", "苹果客户端投注消息体"), MIX_PLAYTYPE("98", "混合投注方式"), PLAN_OPEN_LEVEL_HIGH("0", "公开"), PLAN_OPEN_LEVEL_MIDDLE(
			"1", "相对保密"), // 相对保密（方案对未跟单人保密，方案参与者可查看选号，在该期开奖后对所有人公开）
	PLAN_OPEN_LEVEL_LOW("2", "完全保密"), // 完全保密（方案对所有人保密，在该期开奖后对所有人公开）
	LOTTERYTYPE_BASKETBALL("0", "竞彩篮球"), LOTTERYTYPE_FOOTBALL("1", "竞彩足球");
	/**
	 * 对应值
	 */
	private String value;

	/**
	 * 对应描述
	 */
	private String memo;
	
	/**
	 * 密码找回用户信息
	 */
	public static final String RECOVER_MEMBER = "RECOVER_MEMBER";

	/**
	 * 构造器
	 * @param value
	 * @param memo
	 */
	Contants(String value, String memo)
	{
		this.setValue(value);
		this.setMemo(memo);
	}

	public void setValue(String value)
	{
		this.value = value;
	}

	public String getValue()
	{
		return value;
	}

	public void setMemo(String memo)
	{
		this.memo = memo;
	}

	public String getMemo()
	{
		return memo;
	}
}
